<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title>表格的基本用法</title>
	</head>
	<body>
<form action="login.php" method="post">
	<table border="1" width="800" align="center" height="360" cellspacing="0" cellpadding="">
		<tr>
			<th colspan="2" align="center"><h3>用户登录</h3></th>
		</tr>
		<tr>
			<td align="right">用户名：</td>
			<td><input type="text" name="username" required="required" placeholder="请输入用户名...." /></td>
		</tr>
		<tr>
			<td align="right">密码：</td>
			<td><input type="password" name="pwd" required="required" placeholder="请输入用昵称...." /></td>
		</tr>
		<tr>
			<td align="right" rowspan="2">选项：</td>
			<td>
				性别：
				男<input type="checkbox" name="sex" id="sex" value="" />
				女<input type="checkbox" name="sex" id="sex" value="" />
			</td>
		</tr>
		<tr>
			<td>
				爱好：
				打球<input type="radio" />
				看书<input type="radio" />
			</td>
		</tr>
		<tr>
			<td colspan="2" align="center">
				<input id="btn" type="submit" value="登录" />&nbsp;&nbsp;&nbsp;
				<a href="reg.html">没有账号，点击注册</a>
			</td>
		</tr>
	</table>
</form>

	</body>
</html>
